package me.xuym.crawler.t66y;

import java.util.Hashtable;
import java.util.Map;

/**
 * Created by broche on 11/09/2017.
 */
public class T66yFullResult extends T66yResult {
    public T66yFullResult(T66yResult result) {
        this.setUrl(result.getUrl());
        this.setContent(result.getContent());
        this.setTorrent(result.getTorrent());
    }

    @Override
    public Map<String, String> simpleCachedFilterSaveFields() {
        Map<String, String> fields = new Hashtable<>();
        fields.put("url", getUrl());
        fields.put("content", getContent());
        fields.put("torrent", getTorrent());
        return fields;
    }
}
